package com.itheima.homework3;

public class UITeacher extends Employee implements Art{
    @Override
    public void art() {
        System.out.println(getAge()+"岁的UI老师"+getName()+"在绘画");
    }

    @Override
    public void work() {
        System.out.println(getAge()+"岁的UI老师"+getName()+"在讲授UI课");
    }
}
